<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <title>1.初识Vue</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<!-- new Vue 时传入的那个data 被Vue收到了，放在了vm上名为_data。-->
<body>
    <div id="demo">
        <h1>学校名称：{{name}}</h1>
    </div>
    <script type="text/javascript">
        Vue.config.productionTip = false
        const vm =  new Vue({
            el: '#demo',
            data: {
                name :"尚硅谷",
            }
        })
    </script>
</body>

</html>